﻿using Microsoft.AspNetCore.Mvc.RazorPages;

namespace Stu_sys.Entity
{
    public class Student
    {
        //学生Id
        public int StudentId { get; set; }
        //学生姓名
        public string? StudentName { get; set; }
        //学号
        public string? StudentNum { get; set; }
        //性别（男:1,女:0）
        public int Sex { get; set; }

        //班级id
        public int ClassEntityId { get; set; }
        public ClassEntity? ClassEntity { get; set; }

        public  int BedRoomId { get; set; }
        public BedRoom? BedRoom { get; set; }

        //身份证号
        public string? IDNumber { get; set; }
        //出生日期
        public DateTime Birthday { get; set; }
        //民族
        public string? Nation { get; set; }
        //政治面貌
        public string? Political { get; set; }
        //父亲姓名
        public string? FatherName { get; set; }
        //父亲电话
        public string? FatherPhone { get; set; }
        //母亲姓名
        public string? MotherName { get; set; }
        //母亲电话
        public string? MotherPhone { get; set; }
        //住址
        public string? Address { get; set; }
    }
}